package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.BBrandPromotionSettleInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 品牌推广结算信息表
 * 
 * @author xss
 * @email dustwas@163.com
 * @date 2019-05-07 18:11:18
 */
@Mapper
public interface BBrandPromotionSettleInfoDao extends BaseMapper<BBrandPromotionSettleInfoEntity> {
	List<BBrandPromotionSettleInfoEntity> queryList(Map<String,Object> map);
	Integer queryTotal(Map<String,Object> map);

	BBrandPromotionSettleInfoEntity	getBrandPromotionSettleInfoByUserId(@Param("userId")Integer userId);

	BBrandPromotionSettleInfoEntity	getBrandPromotionSettleInfoByBrandId(@Param("brandId")Integer brandId);
}
